home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 002 / pcw271b.arc / WORKDISK.BAT < prev   
DOS Batch File  |  1986-10-01  |  3KB  |  79 lines

  1. echo off
  2. echo ***   Now Making a PC-Write Work Disk   ***
  3. if not %1x==x goto num
  4. echo The WORKDISK command must be followed by a drive letter, or a drive letter
  5. echo plus a directory name. For example, to make a working diskette in drive B,
  6. echo insert a blank, formatted diskette in drive B and enter the command:
  7. echo     workdisk b:
  8. echo To make a working directory named PCW on drive C, enter the commands:
  9. echo     mkdir c:\pcw
  10. echo     workdisk c:\pcw\
  11. goto fin
  12. :num
  13. if exist ed.exe goto program
  14. echo This diskette is not the right one; probably it is the Utility diskette.
  15. echo Insert the PC-Write Program diskette now, and press any key to continue.
  16. pause
  17. :program
  18. echo 1. Copying edit program and print program.
  19. copy ed.exe %1ed.exe
  20. copy pr.exe %1pr.exe
  21. echo 2. Copying help file and edit control file.
  22. echo The Help file gives 45 help screens, but takes 50 KB on the diskette.
  23. getyn Do you want this Help file ?  Press Y if unsure
  24. if errorlevel 1 copy ed.hlp %1ed.hlp
  25. copy ed.def %1ed.def
  26. getyn Are you using a Tandy 1000 ?  Press N if unsure
  27. if not errorlevel 1 goto more
  28. copy ed.trs %1ed.def
  29. echo The Tandy 1000 keyboard does not have all the standard keys, so you will need
  30. echo to substitute some keys (such as Ctl-V for Scroll Lock).  Look at the file
  31. echo ED.DEF, or the back of your PC-Write User's Guide, for a complete list.
  32. :more
  33. getyn Do you have a copy of the PC-Write utility diskette?
  34. if errorlevel 1 goto getutil
  35. echo Without the utility diskette, you can edit and print files, but you cannot
  36. echo use any printer enhancements (such as underline) or use the spell checker.
  37. getyn Do you have a color monitor?  Press N if unsure
  38. if errorlevel 1 echo %%C >> %1ed.def
  39. goto :ends
  40. :getutil
  41. echo ***
  42. echo Please remove the "PROGRAM" diskette, and insert the "UTILITY" diskette.
  43. pause 
  44. if exist menuprt.exe goto utility
  45. echo This diskette is not the right one; probably it is the Program diskette.
  46. echo Insert the PC-Write Utility diskette now, and press any key to continue.
  47. pause
  48. :utility
  49. if not exist %1menuprt.com goto new
  50. getyn Your file MENUPRT.COM is obsolete; want to delete it? Y if unsure
  51. if errorlevel 1 del %1menuprt.com
  52. :new
  53. echo 3. Creating a print control file.
  54. getyn Do you have a laser printer?  Press N if unsure
  55. if errorlevel 1 goto laser
  56. menuprt %1pr.def
  57. goto common
  58. :laser
  59. getyn Do you have an HP LaserJet Plus with Softfonts?
  60. if errorlevel 1 copy hpdown.bat %1hpdown.bat
  61. getyn Do you have any printer using Adobe PostScript?
  62. if errorlevel 1 copy psdown.txt %1psdown.txt
  63. menulaz %1pr.def
  64. :common
  65. copy print.tst %1print.tst
  66. getyn Do you have a color monitor?  Press N if unsure
  67. if errorlevel 1 echo %%C >> %1ed.def
  68. if errorlevel 1 echo %%C >> %1pr.def
  69. echo 4. Copying the master word list.
  70. echo The master word list is a large (110 KB) file used to check spelling.
  71. echo Your computer must have at least 320 KB to use this master word list.
  72. getyn Do you want this word list ?  Press Y if unsure
  73. if errorlevel 1 copy words.mas %1words.mas
  74. :ends
  75. echo ***   PC-Write Work Disk Is Now Ready   ***
  76. echo If you have problems using your keyboard, ED.SPC (Program diskette) may help.
  77. echo If you are using a mouse, see your User's Guide for the installation process.
  78. :fin
  79.